//start explorer z:

if exist "%~dp0AutoHotKey"  ( set ahk_home=%~dp0AutoHotKey)
 
 if exist "%~dp0ATIBROW\AutoHotKey"   set ahk_home=%~dp0ATIBROW\AutoHotKey

 set atibrow_home=%~dp0
if exist %~dp0AtiBrow  set atibrow_home=%~dp0AtiBrow
 

 
  set java_home=%~dp0jre
//if exist d:\jdk1.7.0_0132bit ( set java_home=d:\jdk1.7.0_0132bit)
//  if not exist %java_home%   set java_home=%~dp0../jdk1.7.0_0132bit
    if not exist %java_home%   set java_home=%~dp0../jdk1.8.0_71
	if exist %~dp0../../jdk1.8.0_71 ( set java_home=%~dp0../../jdk1.8.0_71)
	if exist "C:\Program Files\Java\jdk1.8.0_71" ( set java_home=C:\Program Files\Java\jdk1.8.0_71)

echo %ahk_home%  %atibrow_home%  %java_home%


//、、start %ahk_home%\AutoHotKey.exe  %atibrow_home%\actPlayWin.ahk
rem %~dp0AutoHotKey\AutoHotKey.exe  %~dp0actPlayWin.ahk
 
 set java_home=D:\jdk1.8.0_71
set javaexec="%java_home%\bin\java.exe"
  
rem a  start explorer z:
set file=https://dl.pandaidea.com/jarfiles/a/android-json/android-json-rpc.jar.zip
set save=c:\\0down.zip


%javaexec%  -classpath ".;.\classes;%~dp0bin;%atibrow_home%\bin;%~dp0WebRoot\WEB-INF\classes" -Djava.ext.dirs="%~dp0lib;%atibrow_home%\lib;%~dp0WebRoot\WEB-INF\lib"   -Djava.library.path="%~dp0dll;%atibrow_home%\dll"  com.attilax.dsl.DslParser  "com.attilax.sync.SyncUtil.geneSnap('D:\ati\foto ppl', 'D:\ati\foto ppl snap\foto_ppl_snap_pb2.txt');"

pause
